package com.usian.user.mapper;

import com.usian.user.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 06 26 08 44
 **/
public interface UserMapper {
    /**
     * 查询全部
     */

    List<User> findAllUser();


    /**
     * 根据id查询
     */
    User findUserById(Integer id);

    User findUserByUserName(User user);
    int save(User user);




}
